﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LowLevelGraphics.Filter
{
    public class Warp : BaseImageFilter
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="Warp"/> class.
        /// This will be given a common matrix that defines the warping of the picture. 
        /// </summary>
        /// <remarks>Google Search: Mathematica Warp matrix</remarks>
        public Warp()
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="Warp"/> class.
        /// </summary>
        /// <param name="_warp">The _warp.</param>
        internal Warp(Warp _warp)
        {
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="_bitmap"></param>
        /// <returns></returns>
        public override UnsafeBitmap Execute(UnsafeBitmap _bitmap)
        {
            return base.Execute(_bitmap);
        }

        /// <summary>
        /// This is used to clone a filter, each filter must implement it's own clone functionality
        /// </summary>
        /// <returns></returns>
        public override object Clone()
        {
            return new Warp(this);
        }
    }
}
